package com.hdi.extendsoverride;

import java.util.ArrayList;

public class B extends A{

    @Override
    public void print2() {
        System.out.println("==print2override==");
    }

//    @Override
//    ArrayList getObject(){
//        ArrayList list = new ArrayList<String>();
//        return list;
//    }
}
